#include "pause.h"
#include "QDebug"

Pause::Pause(QWidget *parent)
    : QWidget(parent)
{
	ui.setupUi(this);
	connect(ui.btnStop,SIGNAL(clicked()),this,SIGNAL(stopClicked()));
        ui.img->setPixmap(QPixmap(":img1"));
}

Pause::~Pause()
{

}

void Pause::refresh(int time) {
    ui.lblTimeBeforePause->setText(QString::number(time/60)+"min"+QString::number(time%60)+"sec");
}

void Pause::setMove(QPixmap _img){
	 ui.img->setPixmap(_img);
}